﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<nelech.Models.DBModel.ChoosenTopic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	נלך- בחירת חידת השבוע
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>בחירת חידת השבוע</h2>
   <% using (Html.BeginForm( "ChoosePuzzle", "Admin", FormMethod.Post))
      {%>

            <label for="choose">
                בחירת חידה:</label>
             
            <%= Html.DropDownList("id", nelech.Views.Shared.Code.Utils.CreatePuzzleListItems(Model.id))%>
            <input type="submit" value="שמור" />
  <%} %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
